Integrand size = 25, antiderivative size = 176 \[ \int (d \sec (e+f x))^{3/2} (a+b \tan (e+f x))^3 \, dx=-\frac {2 a \left (5 a^2-6 b^2\right ) E\left (\left .\frac {1}{2} \arctan (\tan (e+f x))\right |2\right ) (d \sec (e+f x))^{3/2}}{5 f \sec ^2(e+f x)^{3/4}}+\frac {2 a \left (5 a^2-6 b^2\right ) \cos (e+f x) (d \sec (e+f x))^{3/2} \sin (e+f x)}{5 f}+\frac {2 b (d \sec (e+f x))^{3/2} (a+b \tan (e+f x))^2}{7 f}+\frac {2 b (d \sec (e+f x))^{3/2} \left (10 \left (9 a^2-2 b^2\right )+33 a b \tan (e+f x)\right )}{105 f} \]
[Out]
Time = 0.17 (sec) , antiderivative size = 176, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {3593, 757, 794, 233, 202} \[ \int (d \sec (e+f x))^{3/2} (a+b \tan (e+f x))^3 \, dx=-\frac {2 a \left (5 a^2-6 b^2\right ) (d \sec (e+f x))^{3/2} E\left (\left .\frac {1}{2} \arctan (\tan (e+f x))\right |2\right )}{5 f \sec ^2(e+f x)^{3/4}}+\frac {2 b (d \sec (e+f x))^{3/2} \left (10 \left (9 a^2-2 b^2\right )+33 a b \tan (e+f x)\right )}{105 f}+\frac {2 a \left (5 a^2-6 b^2\right ) \sin (e+f x) \cos (e+f x) (d \sec (e+f x))^{3/2}}{5 f}+\frac {2 b (d \sec (e+f x))^{3/2} (a+b \tan (e+f x))^2}{7 f} \]
[In]
[Out]
Rule 202
Rule 233
Rule 757
Rule 794
Rule 3593
Rubi steps \begin{align*} \text {integral}& = \frac {(d \sec (e+f x))^{3/2} \text {Subst}\left (\int \frac {(a+x)^3}{\sqrt [4]{1+\frac {x^2}{b^2}}} \, dx,x,b \tan (e+f x)\right )}{b f \sec ^2(e+f x)^{3/4}} \\ & = \frac {2 b (d \sec (e+f x))^{3/2} (a+b \tan (e+f x))^2}{7 f}+\frac {\left (2 b (d \sec (e+f x))^{3/2}\right ) \text {Subst}\left (\int \frac {(a+x) \left (\frac {1}{2} \left (-4+\frac {7 a^2}{b^2}\right )+\frac {11 a x}{2 b^2}\right )}{\sqrt [4]{1+\frac {x^2}{b^2}}} \, dx,x,b \tan (e+f x)\right )}{7 f \sec ^2(e+f x)^{3/4}} \\ & = \frac {2 b (d \sec (e+f x))^{3/2} (a+b \tan (e+f x))^2}{7 f}+\frac {2 b (d \sec (e+f x))^{3/2} \left (10 \left (9 a^2-2 b^2\right )+33 a b \tan (e+f x)\right )}{105 f}-\frac {\left (a \left (6-\frac {5 a^2}{b^2}\right ) b (d \sec (e+f x))^{3/2}\right ) \text {Subst}\left (\int \frac {1}{\sqrt [4]{1+\frac {x^2}{b^2}}} \, dx,x,b \tan (e+f x)\right )}{5 f \sec ^2(e+f x)^{3/4}} \\ & = \frac {2 a \left (5 a^2-6 b^2\right ) \cos (e+f x) (d \sec (e+f x))^{3/2} \sin (e+f x)}{5 f}+\frac {2 b (d \sec (e+f x))^{3/2} (a+b \tan (e+f x))^2}{7 f}+\frac {2 b (d \sec (e+f x))^{3/2} \left (10 \left (9 a^2-2 b^2\right )+33 a b \tan (e+f x)\right )}{105 f}+\frac {\left (a \left (6-\frac {5 a^2}{b^2}\right ) b (d \sec (e+f x))^{3/2}\right ) \text {Subst}\left (\int \frac {1}{\left (1+\frac {x^2}{b^2}\right )^{5/4}} \, dx,x,b \tan (e+f x)\right )}{5 f \sec ^2(e+f x)^{3/4}} \\ & = -\frac {2 a \left (5 a^2-6 b^2\right ) E\left (\left .\frac {1}{2} \arctan (\tan (e+f x))\right |2\right ) (d \sec (e+f x))^{3/2}}{5 f \sec ^2(e+f x)^{3/4}}+\frac {2 a \left (5 a^2-6 b^2\right ) \cos (e+f x) (d \sec (e+f x))^{3/2} \sin (e+f x)}{5 f}+\frac {2 b (d \sec (e+f x))^{3/2} (a+b \tan (e+f x))^2}{7 f}+\frac {2 b (d \sec (e+f x))^{3/2} \left (10 \left (9 a^2-2 b^2\right )+33 a b \tan (e+f x)\right )}{105 f} \\ \end{align*}
Time = 3.86 (sec) , antiderivative size = 155, normalized size of antiderivative = 0.88 \[ \int (d \sec (e+f x))^{3/2} (a+b \tan (e+f x))^3 \, dx=-\frac {d \sqrt {d \sec (e+f x)} \left (70 b \left (-3 a^2+b^2\right ) \cos ^2(e+f x)+42 a \left (5 a^2-6 b^2\right ) \cos ^{\frac {7}{2}}(e+f x) E\left (\left .\frac {1}{2} (e+f x)\right |2\right )-42 a \left (5 a^2-6 b^2\right ) \cos ^3(e+f x) \sin (e+f x)-3 b^2 (10 b+21 a \sin (2 (e+f x)))\right ) (a+b \tan (e+f x))^3}{105 f (a \cos (e+f x)+b \sin (e+f x))^3} \]
[In]
[Out]
Result contains complex when optimal does not.
Time = 22.07 (sec) , antiderivative size = 872, normalized size of antiderivative = 4.95
method | result | size |
parts | \(\text {Expression too large to display}\) | \(872\) |
default | \(\text {Expression too large to display}\) | \(899\) |
[In]
[Out]
Result contains higher order function than in optimal. Order 9 vs. order 4.
Time = 0.10 (sec) , antiderivative size = 200, normalized size of antiderivative = 1.14 \[ \int (d \sec (e+f x))^{3/2} (a+b \tan (e+f x))^3 \, dx=\frac {-21 i \, \sqrt {2} {\left (5 \, a^{3} - 6 \, a b^{2}\right )} d^{\frac {3}{2}} \cos \left (f x + e\right )^{3} {\rm weierstrassZeta}\left (-4, 0, {\rm weierstrassPInverse}\left (-4, 0, \cos \left (f x + e\right ) + i \, \sin \left (f x + e\right )\right )\right ) + 21 i \, \sqrt {2} {\left (5 \, a^{3} - 6 \, a b^{2}\right )} d^{\frac {3}{2}} \cos \left (f x + e\right )^{3} {\rm weierstrassZeta}\left (-4, 0, {\rm weierstrassPInverse}\left (-4, 0, \cos \left (f x + e\right ) - i \, \sin \left (f x + e\right )\right )\right ) + 2 \, {\left (15 \, b^{3} d + 35 \, {\left (3 \, a^{2} b - b^{3}\right )} d \cos \left (f x + e\right )^{2} + 21 \, {\left (3 \, a b^{2} d \cos \left (f x + e\right ) + {\left (5 \, a^{3} - 6 \, a b^{2}\right )} d \cos \left (f x + e\right )^{3}\right )} \sin \left (f x + e\right )\right )} \sqrt {\frac {d}{\cos \left (f x + e\right )}}}{105 \, f \cos \left (f x + e\right )^{3}} \]
[In]
[Out]
\[ \int (d \sec (e+f x))^{3/2} (a+b \tan (e+f x))^3 \, dx=\int \left (d \sec {\left (e + f x \right )}\right )^{\frac {3}{2}} \left (a + b \tan {\left (e + f x \right )}\right )^{3}\, dx \]
[In]
[Out]
Timed out. \[ \int (d \sec (e+f x))^{3/2} (a+b \tan (e+f x))^3 \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int (d \sec (e+f x))^{3/2} (a+b \tan (e+f x))^3 \, dx=\int { \left (d \sec \left (f x + e\right )\right )^{\frac {3}{2}} {\left (b \tan \left (f x + e\right ) + a\right )}^{3} \,d x } \]
[In]
[Out]
Timed out. \[ \int (d \sec (e+f x))^{3/2} (a+b \tan (e+f x))^3 \, dx=\int {\left (\frac {d}{\cos \left (e+f\,x\right )}\right )}^{3/2}\,{\left (a+b\,\mathrm {tan}\left (e+f\,x\right )\right )}^3 \,d x \]
[In]
[Out]